package com.weixing.mall.provider.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.weixing.mall.core.support.auth.SysAuth;
import com.weixing.mall.provider.model.domain.StockCheckProduct;
import com.weixing.mall.provider.model.dto.StockCheckGoodsDto;

/**
 * <p>
 * 仓库模块-盘点单关联商品 服务类
 * </p>
 *
 * @author Small
 * @since 2019-11-15
 */
public interface IStockCheckProductService extends IService<StockCheckProduct> {

    void stockCheckGoods(StockCheckGoodsDto stockCheckGoodsDto, Long uid);

    /**
     * 创建盘点单时生成盘点库存信息
     * @param depotId 库存Id
     * @param uid 操作人ID
     */
    void insertStockCheckProductByDepotId(Long depotId,Long stockCheckId,Long uid);

    boolean scanCheckProduct(Long checkId, String productSn, SysAuth sysAuth);

    Boolean checkProduct(Long checkId, String productSn);
}
